package com.hc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hc.entity.QcEquipment;
import com.hc.model.QcEquipmentFind;

import java.util.List;
import java.util.Map;

/**
 * @author LiuZhiHao
 * @date 2019/8/28 9:33
 * 描述:
 **/
public interface QcEquipmentService {

    void saveEquipment(QcEquipment qcEquipment);

    Page<QcEquipment> getallqcequitmentByCid(QcEquipmentFind qcEquipmentFind);

    void deleteEquipment(int id);

    QcEquipment getQcEquipmentByScId(String scId);

    /**
     * 根据设备类型id获取所有该设备的名称
     * @param classifyId
     * @return
     */
    List<QcEquipment> getAllDeviceNameForClassifyId(String classifyId);

    Map<String,String> feacheqtype(String day);

    Map<String,Map<String,String>> feacheqtypeClass(String day, String classId);

    void snapshotTest(String date);

    List<QcEquipment> listEq();
}
